package com.lmk.ms.common.dto.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户注册参数
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/15
 */
@Data
@Schema(description = "用户注册参数")
public class MobileRegisterParameter {
    /**
     * 手机
     */
    @NotNull
    @NotBlank(message = "手机号不可以为空")
    @Schema(description = "手机")
    private String mobile;

    /**
     * 验证码
     */
    @NotNull
    @NotBlank(message = "验证码不可以为空")
    @Schema(description = "验证码")
    private String code;

    @NotNull
    @NotBlank(message = "appId不可以为空")
    @Schema(description = "应用ID")
    protected String appId;
}
